home *** CD-ROM | disk | FTP | other *** search
- Path: sun.rhrk.uni-kl.de!knapmey
- From: knapmey@tecmath.de (Christian Knapmeyer)
- Newsgroups: comp.unix.programmer,comp.lang.c,comp.unix.internals
- Subject: Re: C compiler Error on EXEC SQL
- Date: 12 Apr 1996 07:57:22 GMT
- Organization: Universitaet Kaiserslautern
- Message-ID: <KNAPMEY.96Apr12095723@tms2.tecmath.de>
- References: <4kkej2$3ta@news.cc.utah.edu>
- NNTP-Posting-Host: tms2.tecmath.de
- In-reply-to: dpncc@utah.state.ut.us's message of 12 Apr 1996 02:19:14 GMT
-
-
-
- In article <4kkej2$3ta@news.cc.utah.edu> dpncc@utah.state.ut.us (NCC Network) writes:
-
- >
- > Hi
- >
- > I post this for my friend who has no access to the internet and would like to
- > get help from C experts in the Net. She has a C program left over from a guy
- > left the company. The C source code is included below as well as the compiler
- > error generated by HP UNIX. What is the EXEC SQL instruction ? It doesn't seem
- > to be a standard C.
- >
- > I would appreciate any hints or comments.
- > Thanks in advances.
- >
- > Dennis.
- >
-
- [ source code deleted ]
-
- This is the source of a relational database application.
- I don't know which database it is, cause SQL looks quite similar on the
- various systems. It could be, let's say Ingres, Oracle,.. or what else.
-
- The source includes SQL-Statements introduced with "EXEC SQL".
- To compile it, you must first feed it through the precompiler
- of the database system, which replaces the "EXEC SQL" parts with
- some real C code and produces a file named *.c.
- Then give this to your normal C compiler.
-
- When linking the program you must add the link libraries that came
- with the database system.
-
- Your friend should ask someone in her company about how to compile
- and link this stuff... hopefully there's someone else left who
- knows about database programming...
-
- Greetings,
- Christian
- --
- ----------------------------------------------------------------------------
- Dipl.-Inform. Christian Knapmeyer Email: knapmey@tecmath.de
- TecMath GmbH Voice: 06301/606-0 Fax: 06301/606-66
- Sauerwiesen 2 Face : Room 115
- 67661 Kaiserslautern, Germany Disclaimer: as usual
- ---------- press any key to continue. press any other key to quit.----------
-